package hmis.pos.Service;

import hmis.pos.Base.BaseService.BaseService;
import hmis.pos.Entity.Order;
import hmis.pos.Entity.OrderDetail;

import java.util.List;

public interface OrderDetailService extends BaseService<OrderDetail> {

    //根据订单号查询订单明细
    List<OrderDetail> findByOrder(Order order);

    //根据订单号删除订单明细
    boolean deleteByOrderid(String orderid);

}
